<?php

/**
 * @author dungdhs@gmail.com
 * @copyright 2012
 */

function homepage_task(){
  return array(
    'default' => array(
      'func'  => '_homepage_default',
      'perm'  => 'view page',
			'title'	=> 'Homepage'
		)
  );
}

function _homepage_default(){
	global $smarty;
	
	return $smarty->fetch('homepage.tpl'); 
}
?>
